import request from '@/utils/request'

// 查询设备信息列表
export function listDevice(query) {
    return request({
        url: '/contract/device/listCsDevice',
        method: 'get',
        params: query
    })
}

// 查询设备信息详细
export function getDevice(tid) {
    return request({
        url: '/contract/device/' + tid,
        method: 'get'
    })
}
